package io.renren.sf.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.sf.entity.CampusEntity;
import io.renren.sf.vo.ChapterVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

@Mapper
public interface CbChapterListDao {
    Page<ChapterVo> getChapterByBookId(IPage<ChapterVo> page,
                                       @Param(Constants.WRAPPER) Wrapper<ChapterVo> queryWrapper);
    //List<ChapterVo> getChapterByBookId();
}
